package com.tulele.vtool.service;

import com.tulele.vtool.model.UserShareArticleInfo;

public interface IUserShareArticleInfoService {

    /**
     * 添加用户分享文章信息
     * @param userShareArticleInfo
     * @return
     */
    int recordUserShareArticleInfo(UserShareArticleInfo userShareArticleInfo);

    /**
     * 删除
     *
     * @param userId
     * @param articleId
     * @return
     */
    int deleteByUserIdAndArticleId(Integer userId, Integer articleId);

    /**
     * 获取用户的分享数量
     * @param userId
     * @return
     */
    Integer getUserSharedArticleCount(Integer userId);
}
